<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Table::RBook</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Table::RBook</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/rbook_rb.html">
                rbook.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                Object
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
Class to represent a &#8216;workbook&#8217; accessor&#8216;s: @tables array
of <a href="RTable.html">Table::RTable</a> &#8216;s @bname book name @fpath
file path to write dir
</p>

    </div>


   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000065">&lt;&lt;</a>&nbsp;&nbsp;
      <a href="#M000057">add</a>&nbsp;&nbsp;
      <a href="#M000062">length</a>&nbsp;&nbsp;
      <a href="#M000056">new</a>&nbsp;&nbsp;
      <a href="#M000058">push</a>&nbsp;&nbsp;
      <a href="#M000060">static_export</a>&nbsp;&nbsp;
      <a href="#M000061">to_excel</a>&nbsp;&nbsp;
      <a href="#M000066">to_html</a>&nbsp;&nbsp;
      <a href="#M000059">write_book</a>&nbsp;&nbsp;
      <a href="#M000063">write_excel</a>&nbsp;&nbsp;
      <a href="#M000064">write_html</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->
    <div id="includes">
      <h3 class="section-bar">Included Modules</h3>

      <div id="includes-list">
        <span class="include-name"><a href="../Table.html">Table</a></span>
      </div>
    </div>

    <div id="section">





    <div id="attribute-list">
      <h3 class="section-bar">Attributes</h3>

      <div class="name-list">
        <table>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">bname</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">fpath</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">tables</td>
          <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
          <td class="context-item-desc"></td>
        </tr>
        </table>
      </div>
    </div>
      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000056" class="method-detail">
        <a name="M000056"></a>

        <div class="method-heading">
          <a href="RBook.src/M000056.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000056.html');return false;">
          <span class="method-name">new</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000065" class="method-detail">
        <a name="M000065"></a>

        <div class="method-heading">
          <span class="method-name">&lt;&lt;</span><span class="method-args">(x)</span>
        </div>
      
        <div class="method-description">
          <p>
Alias for <a href="RBook.html#M000058">push</a>
</p>
        </div>
      </div>

      <div id="method-M000057" class="method-detail">
        <a name="M000057"></a>

        <div class="method-heading">
          <a href="RBook.src/M000057.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000057.html');return false;">
          <span class="method-name">add</span><span class="method-args">(x)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
append table x to self
</p>
        </div>
      </div>

      <div id="method-M000062" class="method-detail">
        <a name="M000062"></a>

        <div class="method-heading">
          <a href="RBook.src/M000062.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000062.html');return false;">
          <span class="method-name">length</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000058" class="method-detail">
        <a name="M000058"></a>

        <div class="method-heading">
          <a href="RBook.src/M000058.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000058.html');return false;">
          <span class="method-name">push</span><span class="method-args">(x)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000060" class="method-detail">
        <a name="M000060"></a>

        <div class="method-heading">
          <a href="RBook.src/M000060.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000060.html');return false;">
          <span class="method-name">static_export</span><span class="method-args">(borders=true,old_html=nil)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
this generates static html files containing formatting if borders==true
draw table and td borders if old_html is true use old html color and font
tags, else use styles
</p>
        </div>
      </div>

      <div id="method-M000061" class="method-detail">
        <a name="M000061"></a>

        <div class="method-heading">
          <a href="RBook.src/M000061.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000061.html');return false;">
          <span class="method-name">to_excel</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
make a excel book from me writes all tables in book and book as excel
woorkbook,worksheets name is @bname and sheet where sheet is index of table
</p>
        </div>
      </div>

      <div id="method-M000066" class="method-detail">
        <a name="M000066"></a>

        <div class="method-heading">
          <span class="method-name">to_html</span><span class="method-args">(borders=true,old_html=nil)</span>
        </div>
      
        <div class="method-description">
          <p>
Alias for <a href="RBook.html#M000060">static_export</a>
</p>
        </div>
      </div>

      <div id="method-M000059" class="method-detail">
        <a name="M000059"></a>

        <div class="method-heading">
          <a href="RBook.src/M000059.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000059.html');return false;">
          <span class="method-name">write_book</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
dump me (not like my ex did however :( ) save the <a
href="RBook.html">RBook</a>
</p>
        </div>
      </div>

      <div id="method-M000063" class="method-detail">
        <a name="M000063"></a>

        <div class="method-heading">
          <a href="RBook.src/M000063.html" target="Code" class="method-signature"
            onclick="popupCode('RBook.src/M000063.html');return false;">
          <span class="method-name">write_excel</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
save excel write the excel book to file @bname+&#8217;.xls&#8216;
</p>
        </div>
      </div>

      <div id="method-M000064" class="method-detail">
        <a name="M000064"></a>

        <div class="method-heading">
          <span class="method-name">write_html</span><span class="method-args">(borders=true,old_html=nil)</span>
        </div>
      
        <div class="method-description">
          <p>
Alias for <a href="RBook.html#M000060">static_export</a>
</p>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>